package com.lin.service.MulThread;

import lombok.Data;

@Data
public class Task {
    //任务名
    private String name;
    //任务执行时间
    private Long time;

    public Task(String name, Long time) {
        this.name = name;
        this.time = time;
    }

    //CountDownLatch
    //CyclicBarrier
    //BlockingQueue
    //Exchanger
    //Semaphore
    //CompleteFuture
}
